export const cardSchema = {
  type: 'card',
  category: 'container',
  icon: 'card',
  widgetList: [],
  options: {
    name: '',
    label: 'card',
    hidden: false,
    folded: false,
    showFold: true,
    cardWidth: '100%',
    shadow: 'never',
    customClass: '',
  }
}

export const subformSchema = {
    type: 'sub-form',
    category: 'container',
    icon: 'sub-form',
    widgetList: [],
    options: {
        name: "",
        showBlankRow: true,
        showRowNumber: true,
        showAddBtn: true,
        showDeleteBtn: true,
        showInsertBtn: true,
        labelAlign: "label-center-align",
        hidden: false,
        actionColumnPosition: "left",
        customClass: [],
        onSubFormMounted: "",
        onSubFormRowAdd: "",
        onSubFormRowInsert: "",
        onSubFormRowDelete: "",
        onSubFormRowChange: ""
    }
}

export const alertSchema = {
  type: 'alert',
  icon: 'alert',
  formItemFlag: false,
  options: {
    name: '',
    title: '标题',
    type: 'info',
    description: '',
    closable: true,
    closeText: '',
    center: true,
    showIcon: false,
    effect: 'light',
    hidden: false,
    onClose: '',
    onMounted: '',
    onCreated: '',
    customClass: '',
  }
}

export const linkSchema = {
    type: 'link',
    icon: 'redo',
    formItemFlag: false,
    options: {
        name: '',
        title: 'link',
        type: 'success',
        href:"http://",
        linkText: '文本',
        linkDisabled: false,
        linkUnderline: true,
        onMounted: '',
        onCreated: '',
        customClass: '',
    }
}
